# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-nmap
pkgver=1.0b1
pkgrel=5
_pkgid=2218
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3"
makedepends="cmake python3-dev py3-setuptools"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}



sha512sums="f251d0951ba6225844274d26187aa7b90a654ed765471f356fa7979b623c5c04c7f7527dffb9e8f28e278c3e4079a7881947787435779c57d5346520934a9d21  ospd-nmap-1.0b1.tar.gz"
